package com.base.service.impl;

import com.base.mapper.voipmapper.TbkBrandListMapper;
import com.base.po.tbk.TbkBrandList;
import com.base.po.tbk.TbkBrandListExample;
import com.base.service.TbkBrandListService;
import com.base.utils.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("tbkBrandListService")
public class TbkBrandListServiceImpl implements TbkBrandListService {
	
	@Autowired
	private TbkBrandListMapper tbkBrandListMapper;


	@Override
	public int countByExample(TbkBrandListExample example) {
		return tbkBrandListMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(TbkBrandListExample example) {
		return tbkBrandListMapper.deleteByExample(example);
	}

	@Override
	public int insert(TbkBrandList record) {
		return tbkBrandListMapper.insert(record);
	}

	@Override
	public int insertSelective(TbkBrandList record) {
		return tbkBrandListMapper.insertSelective(record);
	}

	@Override
	public List<TbkBrandList> selectByExample(TbkBrandListExample example) {
		return tbkBrandListMapper.selectByExample(example);
	}

	@Override
	public List<TbkBrandList> selectByTbShopId(Page page, String parentid, String tbshopid) {
		return tbkBrandListMapper.selectByTbShopId(page, parentid, tbshopid);
	}

	@Override
	public TbkBrandList selectByPrimaryKey(String id) {
		return tbkBrandListMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(TbkBrandList record, TbkBrandListExample example) {
		return tbkBrandListMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(TbkBrandList record, TbkBrandListExample example) {
		return tbkBrandListMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(TbkBrandList record) {
		return tbkBrandListMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int countByTbShopId(String parentid, String tbshopid) {
		return tbkBrandListMapper.countByTbShopId(parentid, tbshopid);
	}
}
